function allTriShape = generateRandomTriganle(N)
allTriShape = zeros(2,3,N);
%random('Normal') gaussian distribution
G1_05N = random('Normal', 1, 0.5,1,N);
for i=1:N
    allTriShape(:,1,i)=[-1 0]'+random('Normal',0,0.1,2,1);
    allTriShape(:,2,i)=[1 0]'+random('Normal',0,0.1,2,1);
    allTriShape(:,3,i)=[0 G1_05N(N)]'+random('Normal',0,0.1,2,1);
end